﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class HFUIController : MonoBehaviour
{
	private static HFUIController instance;
	private void Awake() { instance = this; }
	public static HFUIController Instance => instance;

	public Slider slider;

	public Text text;

	public void SetPropress(float value) {
		slider.value = value;
		text.text = (value * 100).ToString("F2") + "%";
	}


	// Start is called before the first frame update
	void Start() {

	}

	// Update is called once per frame
	void Update() {

	}
}
